# encoding=utf-8
import jieba

f = open(r"E:\\bigData\ml\dataset\pku_training_1.txt", "r")
line = f.readline()
while line:
    seg_list = jieba.cut(line, cut_all=False)
    line = f.readline()
    # 全模式
    print(" ".join(seg_list))

